package com.rk.kbk.dao;

import com.rk.kbk.model.PunishLog;
import com.rk.kbk.model.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @PunishLogDao
 * @Dao
 * @version : Ver 1.0
 */
public interface PunishLogDao extends JpaRepository<PunishLog, Long>,JpaSpecificationExecutor {
    List<PunishLog> findByUs(User user);
}
